package com.onesports.intelligent.k12.polarlight.domain.vo.course;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 时段VO
 *
 * @author clw
 * @date 2022-07-12 18:05:32
 */
@Data
@ApiModel(value = "时段VO")
public class MyCourseSchedulePeriodVO {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "课表Id")
    private String scheduleId;

    @ApiModelProperty(value = "课表明细Id")
    private String courseScheduleDetailId;

    @ApiModelProperty(value = "节次code")
    private String sectionCode;

    @ApiModelProperty(value = "课程日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date courseDate;

    @ApiModelProperty(value = "开始时段")
    @JsonFormat(pattern = "HH:mm", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "结束时段")
    @JsonFormat(pattern = "HH:mm", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "true 可用,false 不可用")
    private Boolean status;

    @ApiModelProperty(value = "教练Id")
    private String coachId;

}
